extends CharacterBody2D
class_name WeaponBullet

var speed = 200


func _ready():
	$MaxLifeTimer.start()
	
	
func _process(delta):
	position.x += speed * scale.x * delta
	if($MaxLifeTimer.time_left <= 0):
		queue_free()


	
